class CreateArtists < ActiveRecord::Migration
  def self.up
    create_table :artists do |t|
      t.string :name, :null => false
      t.text :bio
      t.integer :type, :default => 0
      t.integer :formDay
      t.integer :formMonth
      t.integer :formYear
      t.integer :breakDay
      t.integer :breakMonth
      t.integer :breakYear
      t.integer :forum_id
      t.integer :place_id

      t.timestamps
    end
  end

  def self.down
    drop_table :artists
  end
end
